
import os
class Tools:
    def __init__(self):
        self.raw="./raw"
    def get_raw_files(self):
        files=os.listdir(self.raw)
        res=[]
        for f in files:
            iscloud="是" if f.endswith(".ply") else "否"
            isvideo="是" if f.endswith(".mp4") else "否"
            path=os.path.abspath(os.path.join(self.raw,f))
            res.append([
                    "办公室", "2019-11-15", "8:00:00", "是", iscloud, isvideo, path
            ])
        return res